package com.googlecode.napp.pechhulp;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.TelephonyManager;

public class Pechhulp extends Click

{
	double latlocation = 0;
	double lonlocation = 0;
	        
        /** Called when the activity is first created. */
        @Override
        public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.main);
                Intent pos = new Intent(getBaseContext(), Pos.class);
                startActivityForResult(pos,0);
                
                TelephonyManager telephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
                String android_id = telephonyManager.getDeviceId();// EMEI van telefoon, gebruikt voor unique id
        }
        
        public void onResume (Bundle savedInstanceState)
        {
            /* Use the LocationManager class to obtain GPS locations */
           /* LocationManager mlocManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
            LocationListener mlocListener = new MyLocationListener();
            mlocManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 30000, 3,mlocListener);
     */   }

}